package com.itheima.manager.personManager;
//教练类
public class Coach extends Person {
    private String employeeId;

    public Coach(String name, String sex, String age, String employeeId) {
        super(name, sex, age);
        this.employeeId = employeeId;
    }

    public Coach() {
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    @Override
    public void eat() {
        System.out.println("教练员吃工作餐");
    }
}
